package com.example.shop.order.dto;

import com.example.shop.pojo.Order;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class WXNativePayOrder {
    private Order order;
    /**
     * 微信支付时显示的支付订单的描述
     */
    private String description;
    /**
     * 微信支付的过期时间，一般默认30分钟
     */
    private LocalDateTime orderExpirationTime;
    /**
     * 支付成功后回调的url
     */
    private String notifyUrl;
}
